<!-- 模板 -->
<template>
  <div class="approved">
      <div class="box">
            <div class="btn">
                <el-form  :inline="true"  :model="params" size="small"  label-width="80px" >
                    <el-form-item label="联系方式:">
                        <el-input  v-model="params.phone" placeholder="输入联系方式"  clearable  /> 
                    </el-form-item>
                    <el-form-item label="名称:">
                        <el-input  v-model="params.name" placeholder="输入表名"  clearable  /> 
                    </el-form-item>
                    <span style="margin-left:10px">
                        <el-button type="primary" icon="el-icon-search" size="small">搜索</el-button>
                    </span>
                </el-form>
            </div>
          <el-card>
            <el-table :data="tableData" border style="width: 100%" >
                <el-table-column  label="序号" align="center" type="index"> </el-table-column>
                <el-table-column prop="name" label="名字" align="center"> </el-table-column>
                <el-table-column prop="phone" label="联系方式" align="center" > </el-table-column>
                <el-table-column prop="phone" label="提现金额" align="center" > </el-table-column>
                <el-table-column prop="phone" label="已提现金额" align="center" > </el-table-column>
                <el-table-column prop="creatTime" label="时间" align="center" > </el-table-column>
                <el-table-column prop="content" label="备注" align="center" :show-overflow-tooltip="true"> </el-table-column>
                <el-table-column  label="操作" align="center" >
                    <template slot-scope="scope">
                        <!-- <el-button @click="handleDeleteClick(scope.row)" type="primary" size="small" icon="el-icon-delete" plain>删 除</el-button>
                        <el-button @click="handleCheckClick(scope.row)" type="primary" size="small" icon="el-icon-circle-check" plain>通 过</el-button>
                        <el-button @click="handleCloseClick(scope.row)" type="primary" size="small" icon="el-icon-circle-close" plain>拒 绝</el-button> -->
                    </template>
                </el-table-column>
            </el-table>
            </el-card>
      </div>
  </div>
</template>

<script>
// import component from '@/components/*.vue'
export default {
  name: '',
  data () {
    return {
        tableDara:[],
        params:{},
    }
  },
  props: [],
  components: {},
  computed: {},
  filters: {},
  methods: {
    //   删除
    handleDeleteClick(row){
        const id = row.id || this.ids;
       this.$confirm("是否确认通过?", "提示", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning"
      })
        .then(function() {
        //   return delorder_school(id);
        })
        .then(() => {
        //   this.getData00();
          this.msgSuccess("通过成功");
        })
        .catch(function() {});
    },
    // 通过
    handleCheckClick(row){
        console.log(row);
    },
    // 拒绝
    handleCloseClick(row){
        console.log(row);
    },
  },
  created () {},
  mounted () {}
}
</script>

<style rel="stylesheet/scss" lang="scss">
.box{
    margin: 10px;
    .btn{
        // display: flex;
        // align-content: center;
        margin-top: 20px;
    }
}
</style>
